import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import objCopy from '@/utils/objCopy'
import App from './App.vue'
import router from '@/router'
import { use } from 'echarts'
import { Scatter3DChart } from 'echarts-gl/charts'
import { Grid3DComponent } from 'echarts-gl/components'

use([Scatter3DChart, Grid3DComponent])

const app = createApp(App)

app.use(createPinia())
app.use(router)


app.mount('#app')
//对象复制
app.config.globalProperties.$objCopy = objCopy
